﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace VRacer.Bonus
{
    /// <summary>
    /// Bonus ktory zwieksza predkosc gracza.
    /// </summary>
    public class SpeedUpBonus : IBonus
    {
        #region IBonus Members

        public void Apply(PlayerBase player)
        {
            player.Suspend(new Vector(5, 5));
        }

        private Point _position;
        public Point Position
        {
            get { return _position; }
            set { _position = value; }
        }
        #endregion
    }
}
